package com.youku.plugins.explugin
{
   import com.youku.interfaces.IPlugin;
   import com.youku.plugins.explugin.view.ExPluginMediator;
   import flash.display.MovieClip;
   import com.youku.interfaces.IPlayerProxy;
   
   public class ExPluginFacade extends Object implements IPlugin
   {
      
      public function ExPluginFacade() {
         super();
      }
      
      private static var _instance:ExPluginFacade;
      
      public static function getInstance() : ExPluginFacade {
         if(_instance == null)
         {
            _instance = new ExPluginFacade();
         }
         return _instance as ExPluginFacade;
      }
      
      private var _exPluginMediator:ExPluginMediator;
      
      public function init(param1:MovieClip, param2:IPlayerProxy) : void {
         this._exPluginMediator = new ExPluginMediator(param1,param2);
      }
   }
}
